package com.apexedu.eas.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TyxYxhj entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TYX_YXHJ", schema = "USR_YX")
public class TyxYxhj implements java.io.Serializable {

	// Fields

	private Long id;
	private Long pc;
	private Long hjsx;
	private String hj;
	private String hjsm;
	private String bldd;

	// Constructors

	/** default constructor */
	public TyxYxhj() {
	}

	/** minimal constructor */
	public TyxYxhj(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TyxYxhj(Long id, Long pc, Long hjsx, String hj, String hjsm,
			String bldd) {
		this.id = id;
		this.pc = pc;
		this.hjsx = hjsx;
		this.hj = hj;
		this.hjsm = hjsm;
		this.bldd = bldd;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, precision = 16, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "PC", precision = 16, scale = 0)
	public Long getPc() {
		return this.pc;
	}

	public void setPc(Long pc) {
		this.pc = pc;
	}

	@Column(name = "HJSX", precision = 10, scale = 0)
	public Long getHjsx() {
		return this.hjsx;
	}

	public void setHjsx(Long hjsx) {
		this.hjsx = hjsx;
	}

	@Column(name = "HJ", length = 500)
	public String getHj() {
		return this.hj;
	}

	public void setHj(String hj) {
		this.hj = hj;
	}

	@Column(name = "HJSM", length = 1000)
	public String getHjsm() {
		return this.hjsm;
	}

	public void setHjsm(String hjsm) {
		this.hjsm = hjsm;
	}

	@Column(name = "BLDD", length = 300)
	public String getBldd() {
		return this.bldd;
	}

	public void setBldd(String bldd) {
		this.bldd = bldd;
	}

}